package com.weiyuwqj.api.model.convert;

/**
 * Created by zhangyong on 2016/3/25.
 */
public class AccountCashTypeConvert extends DefaultConvert {
    @Override
    public Object convert(Object val) {
        if(val==null) return "";
        if(!(val instanceof Integer)){
            return "";
        }
        int type=(Integer)val;
        if(type==1){
            return "实时到账";
        }else if(type==2){
            return "当天到账";
        }else if(type==3){
            return "T+1到账";
        }else {
            return "其他";
        }
    }
}
